---
title: Blockchain Data
---

This example shows how to load blockchain data, including NFT metadata and transactions for a contract address, via the sort.xyz SQL API.

You will need a free Sort API key, visiting sort.xyz to obtain one.

import SortXyzBlockchain from "/snippets/javascript-integrations/examples/document_loaders/sort_xyz_blockchain.mdx";

import IntegrationInstallTooltip from '/snippets/javascript-integrations/integration-install-tooltip.mdx';

<IntegrationInstallTooltip/>

```bash npm
npm install @langchain/community @langchain/core @langchain/openai
```

<SortXyzBlockchain />
